package com.dns.reset;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableScheduling  //定时器
public class ResetApplication {

	protected static Logger logger= LoggerFactory.getLogger(ResetApplication.class);

	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(ResetApplication.class);
	}

	public static void main(String[] args) {
		SpringApplication.run(ResetApplication.class, args);
		logger.info("SpringBoot Start Success");
	}

}
